package org.exam.user.service;

import com.github.pagehelper.PageInfo;
import org.exam.user.domain.User;
import org.exam.user.query.UserQuery;

import java.util.List;


public interface IUserService {
    void add(User user);

    void delete(Long id);

    User get(Long id);

    List<User> getAll();

    void update(User user);

    void patchDelete(Long[] ids);

    PageInfo<User> queryPage(UserQuery userQuery);
}

